﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="pegaServerIDjQuery.aspx.vb" Inherits="ProjetoDeTestes.pegaServerIDjQuery" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>:)</title>
    <script src="../jQueryCycle/jquery.min.js" type="text/javascript"></script>
    <script type="text/javascript">
    $(document).ready(function() {
        $('#<%=Button1.UniqueID %>').click(function(){
            alert($(this).val())
        });

        $('#AA').click(function(){
            alert($(this).val())
        });

        $('#<%=FileUpload1.UniqueID %>').click(function () {
            alert($(this).val())
        });
    });
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
        <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
        <asp:Button ID="Button1" runat="server" Text="Button" />
        <input type="button" id="AA" name="AA" value="botao doido" /><br />
        <asp:FileUpload ID="FileUpload1" runat="server"  />
        
    </div>
    </form>
</body>
</html>
